package com.db.cm.app.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.db.cm.app.model.GoodsDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author YOURSLIHUA
 * @since 2023-11-24
 */
public interface GoodsService extends IService<GoodsDO> {


    /**
     * 查询所有
     *
     * @return
     */
    List<GoodsDO> selectAll();

    GoodsDO selectById(String goodsId);


    boolean update(GoodsDO entity);

    boolean add(GoodsDO entity);

    boolean delete(GoodsDO entity);
}
